# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=numberstation
pkgver=1.1.0
pkgrel=0
pkgdesc="TOTP Authentication application for mobile"
url="https://git.sr.ht/~martijnbraam/numberstation"
# riscv64, s390x blocked by libhandy1, ppc64le blocked by py3-keyring
arch="noarch !s390x !ppc64le !riscv64"
license="GPL-3.0-or-later"
depends="python3 py3-gobject3 py3-otp py3-keyring gtk+3.0 libhandy1"
makedepends="py3-setuptools glib-dev libhandy1-dev meson ninja"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/numberstation/archive/$pkgver.tar.gz"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="
a7e04d48eb8ba14360ffee51a73b0e73df810b84b13f2ce708e3c575470386f78f68a6b6d8d69956dabdf68df44f6ad7db12edd738e7f347b0d01f3b0215f116  numberstation-1.1.0.tar.gz
"
